#include "Wrappers/Pthread/ThreadException.hpp"

namespace wrappers {
namespace pthread {

ThreadException::ThreadException(const std::string &message)
    : std::runtime_error(message)
{
  mMessage = message;
}

ThreadException::~ThreadException() throw () {

}

const char* ThreadException::what() const throw () {
  return mMessage.c_str();
}

}
}
